#include "px_gamerun.h"
#include "../rendersystem/px_textureatlas.h"
#include "../animation/px_animationdata.h"
#include "../animation/px_animationPlayer.h"
static PXAnnimationPlayer* test;
void game_run_init()
{
// 	float  texCoor[2]={0,0};
// 	RotateParam rp = {{400,300},0.0f};
// 	test = (PXTEXTUREATLAS *) malloc(sizeof(PXTEXTUREATLAS));
// 	init_withfile_png (test,"test.png",10);
// 
// 	setQuad(test,0,0,800,600,texCoor,0,&rp);
    test = init_animationPlayer("runPlayer.actor");
}
void game_run_exit()
{

}
static void _dologic()
{
}
static void _draw()
{
	//draw_quads(test);
	draw_action(test,1,100,100);
}
void game_run_loop()
{
	_dologic();
	_draw();
}